package com.aigao.golf.common.file.model


import com.aigao.golf.common.base.BaseModel
import javax.persistence.*
import java.util.Date

@Table(name = "CM_SYS_FILE")
class CmSysFile() : BaseModel<String>(){



    constructor(fileName: String,
                fileExt: String,
                fileLength: Long,
                createTime: Date,
                storageId: String) : this(){
        this.fileName = fileName
        this.fileExt = fileExt
        this.fileLength = fileLength
        this.createTime = createTime
        this.storageId = storageId
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: String? = null

    var fileName: String? = null

    var fileExt: String? = null

    var fileLength: Long? = null

    var createTime: Date? = null

    var storageId: String? = null



}